/**
 * @Author: Wang chunsheng  email:2192138785@qq.com
 * @Date:   2022-10-22 17:39:40
 * @Last Modified by:   Wang chunsheng  email:2192138785@qq.com
 * @Last Modified time: 2022-12-17 11:03:32
 */
/* 修复input 背景不协调 和光标变色 */
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */

$bg: rgb(178, 204, 248, 0.1);
$light_gray: #fff;
$cursor: #fff;
$bg: #2d3a4b;
$dark_gray: #889aa4;
$light_gray: #eee;
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
  .login-containerw .el-input input {
    color: $cursor;
  }
}


::v-deep .el-input__prefix {
    // left: 22px !important;
    top: 1.5px;
}
::v-deep .el-input__suffix {
right: 22px !important;
top: 3px;
}
::v-deep .el-input--medium .el-input__inner {
  // border: none;
  padding-left: 50px;
  line-height: 45px;
}
::v-deep .el-tabs__nav {
    margin-top: 30px;
    .el-tabs__item {
        font-size: 16px;
        color: #6689db;

        &:hover {
        color: #3161d1;
        }
    }
    .el-tabs__nav-wrap {
        width: 0 !important;
    }
    .is-active {
        color: #3161d1;
        font-weight: 600;
    }
    .el-tabs__active-bar {
        background-color: #001688  !important;
    }
}
.el-tabs__nav-wrap::after {
  width: 0 !important;
}
.footer-login {
  position: absolute;
  bottom: 0px;
  color: #ffffff;
  text-align: center;
  width: 100%;
}

/* reset element-ui css */
.login-containerw {
   min-height: 100%;
  width: 100%;
  background-color: $bg;
  overflow: hidden;
  background: url("~@/static/common/login_background.png");
  background-size: cover;
  position: relative;
  .qcord{
    height: 300px;
  }
  .qcord-login {
    float: right;
    width: 85px;
    height: 21px;
    background: #eef4fe;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #acdbff;
    color: #3161d1;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  span.svg-container {
    font-size: 16px;
    padding: 15px;
    background: #e5e5e5;
    border-radius: 4px 0px 0px 4px;
  }
  .el-input {
    input {
      background: rgb(178, 204, 248, 0.2) !important;
      border-radius: 27px;
      color: #969696 !important;
      margin: auto 0;
      height: 40px;
      padding: 0 53px;
    }
  }

  .el-form-item {
    color: #969696;
  }
  .login-btn{

  }
  .login-form {
    background: url("~@/static/common/loginbg.png") center center no-repeat;
    background-size: 100% 100%;
    background-size: cover;
    margin: calc(40vh - 230px) auto;
    min-height: 545px;
    .login-left {
      display: inline-block;
    }
    .login-right {
      margin: auto;
      width: 320px;
    }
  }

  .tips {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;

    span {
      &:first-of-type {
        margin-right: 16px;
      }
    }
  }

  .svg-container {
    padding: 6px 5px 6px 15px;
    color: $dark_gray;
    vertical-align: middle;
    width: 30px;
    display: inline-block;
  }

  .title-container {
    position: relative;

    .title {
      font-size: 26px;
      color: $light_gray;
      margin: 0px auto 40px auto;
      text-align: center;
      font-weight: bold;
    }
  }

  .show-pwd {
    position: absolute;
    right: 10px;
    top: 7px;
    font-size: 16px;
    color: $dark_gray;
    cursor: pointer;
    user-select: none;
  }

  .thirdparty-button {
    position: absolute;
    right: 0;
    bottom: 6px;
  }

  @media only screen and (max-width: 470px) {
    .thirdparty-button,
    .footer-login {
      display: none;
    }
  }
}

@media only screen and (max-width: 600px) {
  .login-form {
    background-position: -370px!important;
  }
  .login-containerw{
    padding: 15px;
  }
}